JScrollBar

Client properties:

Property

Type Notes

Quaqua.ScrollBar
.placeButtonsTogether

java.lang.Boolean

Use this property for debugging purposes only.

Size styles:

General

QuaquaScrollBarUI's look and behave differently depending on the "Appearance" settings made by the user in the Mac OS X "System Preferences" application. These settings influence the location of the arrow buttons and the behavior of clicks in the scroll bar track.

Quaqua Scroll Bars

Quaqua scroll bars support the "regular" and the "small" size style. The style can be specified programmaticaly by setting the font of the scroll bar to either Lucida Grande 13 (for "regular") or Lucida Grande 11 (for "small").

myScrollBar.setFont(new Font("Lucida Grande", Font.PLAIN, 11);

Client property: Quaqua.ScrollBar.placeButtonsTogether

For debugging purposes the scroll bars also allow to explicitly specify whether the buttons shall be placed together or not.

myScrollBar.putClientProperty(
    "Quaqua.ScrollBar.placeButtonsTogether", Boolean.TRUE

);